import request from "@/util/request";

export const chatBaseInfo = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/chat/chatBaseInfo',
    data: data
})

export const indexCooperate = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/index/cooperate',
    data: data
})

export const lotteryBoxgiftlist = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/lottery/boxgiftlist',
    data: data
})

export const lotteryShoplist = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/lottery/shoplist',
    data: data
})

export const lotteryShopexchange = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/lottery/shopexchange',
    data: data
})

export const activityLeaderSign = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/activity/leaderSign',
    data: data
})

export const searchUserList = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/search/searchUserList',
    data: data
})

export const lotteryExchangelist = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/lottery/exchangelist',
    data: data
})

export const messageFriend = (data: Record<string, unknown>) => request({
    method: 'post',
    url: '/message/friend',
    data: data
})
